<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <title><%= controller.controller_name %> <%= controller.action_name %></title>
  <%= stylesheet_link_tag 'scaffold' %>
  <%= javascript_include_tag :defaults %>
</head>
<%= link_to_unless_current "Current Iteration", { :controller => :Iterations, :action => "show_most_recent_iteration"} %> |
<%= link_to_unless_current 'List Iterations', {:controller => :Iterations, :action => :list}, :class => :command %> |
<%= link_to_unless_current 'Create new Iteration', {:controller => :Iterations, :action => :new }, :class => :command %> |
<%= link_to_unless_current 'Todo Lists', { :controller => :todo_lists}, :class => :command %> |
<%= link_to_unless_current 'Help', { :controller => :Site, :action => :help}, :class => :command %> |
<%= link_to_unless_current 'About', { :controller => :Site, :action => :about}, :class => :command %> |

  <style type="text/css">
    A.data:link, A.data:visited, A.data:active {
      color: green; text-decoration: underline
    }
    A.command:link, A.command:visited, A.command:active {
      color: blue; text-decoration: underline
    }
   </style>
<body>

<p style="color: green"><%= flash[:notice] %></p>

<%= yield  %>

</body>
</html>
